package org.geektime.task.task12client.dao.impl;


import org.geektime.task.automybatisspringbootstarter.config.MyBatisAnnotionDriverSupport;
import org.geektime.task.task12client.dao.IBaseDao;

import java.util.List;

/**
 * 继承通用注解驱动的MyBatisAnnotionDriverSupport类的通用Dao
 * @param <T>
 */
public class BaseDao<T> extends MyBatisAnnotionDriverSupport implements IBaseDao {


    public List<T> selectList(String statementId){
        return getSession().selectList(statementId);
    }






}
